<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<div class="table-responsive">
	<table class="cntable table table-bordered dataTable table-employee">
		<thead>
			<tr>
				<th style="width:50px">序号</th>			
				<th style="width:100px">版本号</th>
				<th style="width:100px">版本代码</th>
				<th style="width:100px">APK</th>
				<th style="width:100px">创建时间</th>
				<th style="width:80px">创建人</th>		
				<th >版本说明</th>			
			</tr>
		</thead>
		<tbody>
			 <c:forEach var="version" items="${androidVersions}" varStatus="status">
				<tr data-id="${version.versionId}" >			
					<td>${status.index+1}</td>
					<td>${version.versionNumber}</td> 				
					<td>${version.versionCode}</td>				
					<c:if test="${version.fileId != null and version.fileId != ''}"><td>
						<a href="<c:url value='/file/localFile/fileUrl/${version.fileId }'/>" target="_blank">
							下载
						</a>
					</td></c:if>
					<c:if test="${version.fileId == null or version.fileId == ''}"><td>未上传</td></c:if>
					<td><fmt:formatDate value="${version.createDate}" type="date" dateStyle="default" pattern="yyyy-MM-dd HH:mm"/></td>
					<td>${version.createUserName}</td>
					<td>${version.description}</td>
				</tr>
			</c:forEach> 	
		</tbody>
		<tfoot>
			<tr>
				<th class="pager-th absolute-pos">
					<%@ include file="/WEB-INF/views/shared/master/pager.jsp"%>
				</th>
			</tr>
		</tfoot>
	</table>
</div>